#ifndef _COMMON_H_
#define _COMMON_H_

#include "adc_app.h"
#include "bsp.h"
#include "can_app.h"
#include "flash_app.h"
#include "iwdg.h"
#include "main.h"
#include "stm32f103xe.h"

#define SET_BITS(SRC, TO, FROM, VALUE) SRC = ((unsigned int)(SRC)) & (~(((1 << ((TO) - (FROM) + 1)) - 1) << (FROM))) | ((VALUE) << (FROM))

#define VER1 (1)
#define VER2 (0)

#endif
